include_rules = [
  # Don't depend on platform/.
  "-third_party/blink/renderer/platform",

  # Module.
  "+third_party/blink/renderer/platform/scheduler",

  # Dependencies.
  "+base/atomic_sequence_num.h",
  "+base/atomicops.h",
  "+base/barrier_closure.h",
  "+base/callback_helpers.h",
  "+base/cancelable_callback.h",
  "+base/command_line.h",
  "+base/compiler_specific.h",
  "+base/containers/circular_deque.h",
  "+base/feature_list.h",
  "+base/format_macros.h",
  "+base/gtest_prod_util.h",
  "+base/logging.h",
  "+base/message_loop/message_loop.h",
  "+base/message_loop/message_loop_current.h",
  "+base/message_loop/message_pump.h",
  "+base/metrics/field_trial.h",
  "+base/metrics/field_trial_params.h",
  "+base/metrics/histogram_functions.h",
  "+base/metrics/histogram_macros.h",
  "+base/observer_list.h",
  "+base/pending_task.h",
  "+base/profiler/sample_metadata.h",
  "+base/run_loop.h",
  "+base/sequence_checker.h",
  "+base/task/single_thread_task_runner.h",
  "+base/strings/string_number_conversions.h",
  "+base/synchronization/atomic_flag.h",
  "+base/synchronization/cancellation_flag.h",
  "+base/synchronization/lock.h",
  "+base/task/common/scoped_defer_task_posting.h",
  "+base/task/common/task_annotator.h",
  "+base/task/sequence_manager/lazy_now.h",
  "+base/task/sequence_manager/sequence_manager.h",
  "+base/task/sequence_manager/task_queue.h",
  "+base/task/sequence_manager/time_domain.h",
  "+base/task/simple_task_executor.h",
  "+base/task/task_executor.h",
  "+base/task/task_traits.h",
  "+base/threading/platform_thread.h",
  "+base/threading/sequenced_task_runner_handle.h",
  "+base/threading/thread.h",
  "+base/threading/thread_checker.h",
  "+base/traits_bag.h",
  "+components/scheduling_metrics",
  "+services/metrics",

  "+third_party/blink/renderer/platform/back_forward_cache_utils.h",
  "+third_party/blink/renderer/platform/bindings/parkable_string_manager.h",
  "+third_party/blink/renderer/platform/instrumentation",
  "+third_party/blink/renderer/platform/platform_export.h",
  "+third_party/blink/renderer/platform/runtime_enabled_features.h",
  "+third_party/blink/renderer/platform/testing",
  "+third_party/blink/renderer/platform/waitable_event.h",
  "+third_party/blink/renderer/platform/web_task_runner.h",
  "+third_party/blink/renderer/platform/wtf",
]

specific_include_rules = {
  ".*test\.cc": [
    "+base/metrics/field_trial_param_associator.h",
    "+base/task/sequence_manager/test",
    "+components/ukm/test_ukm_recorder.h",
    "+testing",
  ],
 "sequence_manager_fuzzer.cc": [
   '+testing/libfuzzer/proto/lpm_interface.h'
 ],
}
